package com.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dao.OrderMapper;
import com.model.PO;
import com.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, PO> implements OrderService {
    @Autowired
    private OrderMapper orderDao;
    @Override
    public IPage<PO> selectPage(Page<PO> page, Object o) {
        return orderDao.selectPage(page,null);
    }
}
